package info.mykhaylov.mvc.controllers;

import org.jetbrains.annotations.NotNull;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import static org.springframework.web.bind.annotation.RequestMethod.*;

@Controller
@RequestMapping("/app/*")
public class Application {

	@NotNull
	@RequestMapping(
		value = "*",
		method = GET
	)
	public String index(){
		return "index";
	}
}
